extends Area2D

# Called when the node enters the scene tree for the first time.
func _input(event):
	if event is InputEventMouseButton and event.pressed:
		if $Sprite2D.get_rect().has_point(to_local(event.position)):
			get_tree().change_scene_to_file("res://LevelSelect/LevelSelect.tscn")


func _on_body_entered(_body):
	get_tree().change_scene_to_file("res://LevelSelect/LevelSelect.tscn")
